package com.lucky.contract.service.iml;

import com.lucky.contract.dao.ContractTypeMapper;
import com.lucky.contract.entity.ContractType;
import com.lucky.contract.entity.ResultMap;
import com.lucky.contract.service.ContractTypeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
@Transactional
public class ContractTypeServiceImpl implements ContractTypeService {

    @Resource
    private ContractTypeMapper contractTypeMapper;

    @Override
    public ResultMap queryPageList(Map<String, Object> params) throws Exception {
        return null;
    }

    @Override
    public List queryList(Map<String, Object> params) throws Exception {
        return contractTypeMapper.queryByConditions(params);
    }

    @Override
    public ContractType getEntity(String pkId) throws Exception {
        return null;
    }

    @Override
    public void addEntity(ContractType contractType) throws Exception {

    }

    @Override
    public void updateEntity(ContractType contractType) throws Exception {

    }

    @Override
    public void deleteEntity(String pkId) throws Exception {

    }
}
